package com.zyj.springboothapim.service.impl; /**
 * @Date: Created on 2021/1/9  16:01
 */

import com.zyj.springboothapim.bean.Charger;
import com.zyj.springboothapim.mapper.AdminMapper;
import com.zyj.springboothapim.mapper.ChargerMapper;
import com.zyj.springboothapim.service.ChargerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created on 2021/1/9  16:01
 */
@Service
public class ChargerServiceImpl implements ChargerService
{
    public ChargerMapper chargerMapper;

    @Autowired
    public void setAdminMapper(ChargerMapper chargerMapper){this.chargerMapper = chargerMapper;}

    //获得所有的Charger
    @Override
    public List<Charger> selectCharger()
    {
        return chargerMapper.selectCharger();
    }
}
